<%@ Page Language="VB" MasterPageFile="~/master pages/ClientMasterPage.master" AutoEventWireup="false"
    CodeFile="frmShowCart.aspx.vb" Inherits="Client_frmShowCart" Title="Untitled Page"
    EnableEventValidation="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table class="box" width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
        <tbody>
            <tr>
                <td class="boxheading" width="100%" height="14">
                    <h2 class="boxtitle">
                        Cart Detail
                    </h2>
                </td>
            </tr>
        </tbody>
    </table>
    <table align="center">
        <tr>
            <td>
                &nbsp;</td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:DataGrid ID="gdAddToCart" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                OnEditCommand="dd_RowEditing" OnUpdateCommand="dd_RowUpdate" OnCancelCommand="dd_RowCancel"
                    CellPadding="4" EnableTheming="True" Font-Bold="True" Font-Italic="False" Font-Names="Verdana"
                    Font-Size="Small" ForeColor="Black" GridLines="None" HorizontalAlign="Center"
                    Width="100%" BorderStyle="Groove" BorderColor="Black" BorderWidth="1pt"
                    PageSize="5">
                    <AlternatingItemStyle BackColor="White" ForeColor="#757575" />
                    <Columns>
                        <asp:TemplateColumn>
                            <ItemTemplate>
                                <asp:Image ID="Image1" ImageUrl='<%# eval("PhotoPath", "../Uploads/{0}") %>' runat="server"
                                    Height="50" Width="30" />
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:BoundColumn DataField="ProductId" HeaderText="Product Id" Visible="false" ReadOnly="true" >
                            <ItemStyle Font-Bold="True" Font-Italic="False" Font-Names="Verdana" Font-Overline="False"
                                Font-Size="8pt" Font-Strikeout="False" Font-Underline="False"  />
                        </asp:BoundColumn>
                        <asp:BoundColumn DataField="OriginalPrice" HeaderText="Original Price" ReadOnly="True">
                            <ItemStyle Font-Bold="True" Font-Italic="False" Font-Names="Verdana" Font-Overline="False"
                                Font-Size="8pt" Font-Strikeout="False" Font-Underline="False" />
                        </asp:BoundColumn>
                        <asp:BoundColumn DataField="DiscountedPrice" HeaderText="Discounted Price" ReadOnly="True">
                            <ItemStyle Font-Bold="True" Font-Italic="False" Font-Names="Verdana" Font-Overline="False"
                                Font-Size="8pt" Font-Strikeout="False" Font-Underline="False" />
                        </asp:BoundColumn>
                        <asp:TemplateColumn HeaderText="Quantity">
                            <ItemTemplate>
                                <%# DataBinder.Eval(Container.DataItem, "Quantity") %>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <asp:TextBox ID="tt" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Quantity") %>'></asp:TextBox>
                            </EditItemTemplate>
                        </asp:TemplateColumn>
                      <%--  <asp:TemplateColumn>
                            <ItemTemplate>
                                <asp:ImageButton ID="LbtDelete" runat="server" Height="15" Width="15" ImageUrl="~/images/delete.jpg"
                                    CommandName="Delete" ForeColor="black"></asp:ImageButton>&nbsp;&nbsp;
                                <asp:ImageButton runat="server" ID="img1" ImageUrl="~/images/edit-best.jpg" Height="15"
                                    Width="15" ForeColor="black" CommandName="Edit" />
                            </ItemTemplate>
                        </asp:TemplateColumn>--%>
                      <asp:EditCommandColumn CancelText="Cancel" EditText="Edit" HeaderText="" UpdateText="Update">
                        </asp:EditCommandColumn>
                        <asp:TemplateColumn>
                            <ItemTemplate>
                                <asp:ImageButton ID="LbtDelete" runat="server" Height="15" Width="15" ImageUrl="~/images/delete.jpg"
                                    CommandName="Delete" ForeColor="black"></asp:ImageButton>&nbsp;&nbsp;
                            </ItemTemplate>
                        </asp:TemplateColumn>
                    </Columns>
                    <EditItemStyle BackColor="white" ForeColor="#757575" />
                    <FooterStyle BackColor="#B02840" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#77A123" Font-Bold="True" ForeColor="White" />
                    <ItemStyle BackColor="White" ForeColor="#757575" />
                    <PagerStyle BackColor="White" ForeColor="Gray" HorizontalAlign="Right" NextPageText="Next &amp;raquo;"
                        PrevPageText="&amp;laquo; Previous" />
                    <SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" Font-Names="Verdana" Font-Size="10pt"
                        ForeColor="#333333" />
                </asp:DataGrid>
            </td>
        </tr>
    </table>
    <hr />
    <table>
        <tr>
            <td>
                <table style="border: 1px; border-color: White; border-style: solid">
                    <tr>
                        <td align="left">
                            Quantity:
                        </td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td style="height: 15px" align="left">
                            <asp:Label ID="lblTotalQuantity" runat="server" Text="Label"></asp:Label>
                        </td>
                    </tr>
                     <tr>
                        <td align="left">
                            Shipping Charge:
                        </td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td style="height: 15px" align="left">
                            <asp:Label ID="lblShippingCharge" runat="server" Text="Label"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="left">
                            Net Payable Amount:
                        </td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td>
                            &nbsp;&nbsp;</td>
                        <td style="height: 15px" align="left">
                            <asp:Label ID="lblNetPayableAmount" runat="server" Text="Label"></asp:Label>
                        </td>
                   <tr  >
                        <td align="left" style="height: 15px">
                          <%--  Actual Price:--%>
                        </td>
                        
                        <td style="height: 15px" align="left">
                            <asp:Label ID="lblOriginalPrice" runat="server" Text="Label" Visible="false" ></asp:Label>
                        </td>
                    </tr>
                    <tr >
                        <td align="left" >
                           <%-- Discounted Price:--%>
                        </td>
                        
                        <td style="height: 15px" align="left">
                            <asp:Label ID="lblDiscountedPrice" runat="server" Text="Label" Visible="false"  ></asp:Label>
                        </td>
                    </tr>
                   
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="left">
                <asp:LinkButton ID="lnkMakePayment" runat="server">CheckOut</asp:LinkButton>
            </td>
            <td align="right">
                <asp:LinkButton ID="lnkContinueShopping" runat="server">Continue Shopping</asp:LinkButton>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
        </tr>
    </table>
</asp:Content>
